package cn.xiongxf.mapper;

import cn.xiongxf.domain.Movie;
import cn.xiongxf.domain.UserMovie;

import java.util.List;

public interface MovieMapper {

    List<Movie> loadAll();

    Movie loadByMovieId(Long movieId);

    void update(Movie movie);

    void saveUserMovie(UserMovie userMovie);

    UserMovie loadByUserIdAndMovieId(UserMovie userMovie);
}
